﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Smartec.Accounts.Camel.AMS.Model.Entities
{
    [MetadataType(typeof(Registered_Metadata))]
    public partial class Registered
    {
       
    }

    public class Registered_Metadata
    {
        [Required(ErrorMessage = "*")]
        [DisplayName("الاسم")]
        [StringLength(50, ErrorMessage = "يجب ان يكون اقل من 250 حرف")]
        public string Name { get; set; }

         [Required(ErrorMessage = "*")]
        [DisplayName("البريد الالكترونى")]
        public string Email { get; set; }

        [DisplayName("تم تفعيله")]
        public  bool IsActive { get; set; }
    }

}
